package com.example.rbacmanage.property;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "minapp")
@Data
public class MinAppProperty {
    //应用id
    private String appId;
    //应用秘钥
    private String appSecret;
    //商户号
    private String merchantId;
    //商户API私钥路径
    private String privateKeyPath;
    //公钥路径
    private String publicKeyPath;
    //商户证书序列号
    private String merchantSerialNumber;
    //商户APIV3密钥
    private String apiV3Key;
    //公钥ID
    private String publicKeyId;
    //微信小程序消息服务器配置的token
    private String token;
    //微信小程序消息服务器配置的token
    private String aesKey;
    //微信小程序消息服务器配置的EncodingAESKey
    private String msgDataFormat;
}
